DIALD-ACCESS
Section: File Formats (5)
Index
Return to Main Contents
NAME
diald-access - access control file format for Dialup IP
DESCRIPTION
When
diald(8)
receives a request to activate a dialup interface, it checks the
interface definition in
/etc/diald.conf
for the specification of a
diald-access
file.
This file specifies the conditions that must be satisfied before the
interface will be activated.
Possible conditions include packet source and destination, protocol,
time-of-day, and day-of-week.
Blank lines and beginning with a pound sign are ignored.
All other lines define parameters, and consist of a keyword and one or more
values separated by whitespace.
If a parameter is repeated it replaces any previous value for that parameter,
except for host lists, which can appear more than once if the list does not
fit on a single line.
The following parameters are valid:
- protocols [tcp] [udp] [icmp] [egp] [ggp] [rdp]
-
This line specifies which protocols are valid reasons for calling out.
The default is to allow any protocol to activate the interface.
- allowto ipaddr...
-
Each ipaddr is either a host address or a network number.
Host names and network names may also be used.
Diald will only try to call out if the destination field of the
packet is one of the specified hosts, or on one of the specified networks.
The default is to allow any address to initiate a call.
- disallowfrom ipaddr...
-
Each ipaddr is either a host address or a network number.
If the source field is one of the specified hosts, or on one of the specified
networks, then diald will not try to initiate a call.
The default is to allow any host to initiate a call.
It is also possible to specify times during which diald should not
make a call.
These lines are all of the form:
-
dayword number...
Dayword is a day of the week such as sunday, monday,
tuesday, and so on, or the three-letter abbreviation for the day.
Weekdays can be used as a shorthand for Monday through
Friday, and weekends can be used to as a shorthand for Saturday
and Sunday.
The numbers specify, in 24-hour notation, the hours when diald
should not initiate a call.
EXAMPLE
-
protocol tcp udp icmp
monday 8 9 10 11 23
saturday 12 13 14
This access file allows calls to be made for tcp, udp, and icmp packets.
Calls can be made at any time on Tuesday, Wednesday, Thursday,
Friday, and Sunday.
Calls on Monday can be made at any time except between 8am and noon,
and between 11pm and midnight.
Calls can be made on Saturday at any time except between noon and 3pm.
SEE ALSO
diald(8), diald.conf(5).
Index
- NAME
-
- DESCRIPTION
-
- EXAMPLE
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 07:01:34 GMT, May 19, 2025